package book.book.dao;

import book.book.bean.BookType;
import book.book.util.Base;

public class BookTypeDaoImpl extends Base implements BookTypeDao{
    @Override
    public BookType getBookType(String booktype) {
        String sql = "SELECT * FROM tb_booktype WHERE tname =?";
        return getOne(BookType.class, sql, booktype);

    }
}
